package com.yxhl.km.module.home.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 张亚楠 on 2018/7/10.
 */

public class HomeBean implements Serializable {


    /**
     * success : true
     * data : {"edit":true,"data":[{"id":"4f07ec9ae0934c9c91d9c402629d3e4b","createTime":"2017-08-08 11:44:21","deleteFlag":1,"planNum":"PL1502163861","harvestYear":"2017","planStatus":3,"cellName":"W1","cellId":"11","cellNum":"R11","pivotId":"53","pivotNum":"4","farmId":"96f0add7ae0a4b0688e758bab212593d","farmName":"白音诺尔","varietyId":"4","varietyName":"大西洋","varietyLevel":"C","expectProduce":200000,"produce":0,"exceptStartTime":"2017-08-08 00:00:00.0","exceptEndTime":"2017-09-01 00:00:00.0","companyFlag":2},{"id":"ba54399dbb144025ae8fb646cb89d110","createTime":"2017-08-09 17:14:30","deleteFlag":1,"planNum":"PL1502270070","harvestYear":"2017","planStatus":1,"cellName":"W2","cellId":"40","cellNum":"R40","pivotId":"b794d68e7c4941a9926f39195ff6b05b","pivotNum":"3","farmId":"6d611206e3e942de8c93ffe3a752171c","farmName":"戴宝平农场","varietyId":"1","varietyName":"布尔班克","varietyLevel":"C","expectProduce":80000,"produce":0,"exceptStartTime":"2017-08-09 00:00:00.0","exceptEndTime":"2017-08-11 00:00:00.0","companyFlag":1},{"id":"92a385521479489a8d7d4a48878e6643","createTime":"2017-08-09 15:59:58","deleteFlag":1,"planNum":"PL1502265599","harvestYear":"2017","planStatus":1,"cellName":"W1","cellId":"1","cellNum":"R01","pivotId":"b794d68e7c4941a9926f39195ff6b05b","pivotNum":"3","farmId":"6d611206e3e942de8c93ffe3a752171c","farmName":"戴宝平农场","varietyId":"5","varietyName":"克新","varietyLevel":"C","expectProduce":8000,"produce":0,"exceptStartTime":"2017-08-09 00:00:00.0","exceptEndTime":"2017-08-11 00:00:00.0","companyFlag":1}]}
     */

    private boolean success;
    private DataBeanX data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX implements Serializable {
        /**
         * edit : true
         * data : [{"id":"4f07ec9ae0934c9c91d9c402629d3e4b","createTime":"2017-08-08 11:44:21","deleteFlag":1,"planNum":"PL1502163861","harvestYear":"2017","planStatus":3,"cellName":"W1","cellId":"11","cellNum":"R11","pivotId":"53","pivotNum":"4","farmId":"96f0add7ae0a4b0688e758bab212593d","farmName":"白音诺尔","varietyId":"4","varietyName":"大西洋","varietyLevel":"C","expectProduce":200000,"produce":0,"exceptStartTime":"2017-08-08 00:00:00.0","exceptEndTime":"2017-09-01 00:00:00.0","companyFlag":2},{"id":"ba54399dbb144025ae8fb646cb89d110","createTime":"2017-08-09 17:14:30","deleteFlag":1,"planNum":"PL1502270070","harvestYear":"2017","planStatus":1,"cellName":"W2","cellId":"40","cellNum":"R40","pivotId":"b794d68e7c4941a9926f39195ff6b05b","pivotNum":"3","farmId":"6d611206e3e942de8c93ffe3a752171c","farmName":"戴宝平农场","varietyId":"1","varietyName":"布尔班克","varietyLevel":"C","expectProduce":80000,"produce":0,"exceptStartTime":"2017-08-09 00:00:00.0","exceptEndTime":"2017-08-11 00:00:00.0","companyFlag":1},{"id":"92a385521479489a8d7d4a48878e6643","createTime":"2017-08-09 15:59:58","deleteFlag":1,"planNum":"PL1502265599","harvestYear":"2017","planStatus":1,"cellName":"W1","cellId":"1","cellNum":"R01","pivotId":"b794d68e7c4941a9926f39195ff6b05b","pivotNum":"3","farmId":"6d611206e3e942de8c93ffe3a752171c","farmName":"戴宝平农场","varietyId":"5","varietyName":"克新","varietyLevel":"C","expectProduce":8000,"produce":0,"exceptStartTime":"2017-08-09 00:00:00.0","exceptEndTime":"2017-08-11 00:00:00.0","companyFlag":1}]
         */

        private boolean edit;
        private List<DataBean> data;

        public boolean isEdit() {
            return edit;
        }

        public void setEdit(boolean edit) {
            this.edit = edit;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean implements Serializable {
            /**
             * id : 4f07ec9ae0934c9c91d9c402629d3e4b
             * createTime : 2017-08-08 11:44:21
             * deleteFlag : 1
             * planNum : PL1502163861
             * harvestYear : 2017
             * planStatus : 3
             * cellName : W1
             * cellId : 11
             * cellNum : R11
             * pivotId : 53
             * pivotNum : 4
             * farmId : 96f0add7ae0a4b0688e758bab212593d
             * farmName : 白音诺尔
             * varietyId : 4
             * varietyName : 大西洋
             * varietyLevel : C
             * expectProduce : 200000
             * produce : 0
             * exceptStartTime : 2017-08-08 00:00:00.0
             * exceptEndTime : 2017-09-01 00:00:00.0
             * companyFlag : 2
             */

            private String id;
            private String createTime;
            private int deleteFlag;
            private String planNum;
            private String harvestYear;
            private int planStatus;
            private String cellName;
            private String cellId;
            private String cellNum;
            private String pivotId;
            private String pivotNum;
            private String farmId;
            private String farmName;
            private String varietyId;
            private String varietyName;
            private String varietyLevel;
            private int expectProduce;
            private int produce;
            private String exceptStartTime;
            private String exceptEndTime;
            private int companyFlag;

            private String startTime="";
            private String endTime="";

            public String getStartTime() {
                return startTime;
            }

            public void setStartTime(String startTime) {
                this.startTime = startTime;
            }

            public String getEndTime() {
                return endTime;
            }

            public void setEndTime(String endTime) {
                this.endTime = endTime;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public int getDeleteFlag() {
                return deleteFlag;
            }

            public void setDeleteFlag(int deleteFlag) {
                this.deleteFlag = deleteFlag;
            }

            public String getPlanNum() {
                return planNum;
            }

            public void setPlanNum(String planNum) {
                this.planNum = planNum;
            }

            public String getHarvestYear() {
                return harvestYear;
            }

            public void setHarvestYear(String harvestYear) {
                this.harvestYear = harvestYear;
            }

            public int getPlanStatus() {
                return planStatus;
            }

            public void setPlanStatus(int planStatus) {
                this.planStatus = planStatus;
            }

            public String getCellName() {
                return cellName;
            }

            public void setCellName(String cellName) {
                this.cellName = cellName;
            }

            public String getCellId() {
                return cellId;
            }

            public void setCellId(String cellId) {
                this.cellId = cellId;
            }

            public String getCellNum() {
                return cellNum;
            }

            public void setCellNum(String cellNum) {
                this.cellNum = cellNum;
            }

            public String getPivotId() {
                return pivotId;
            }

            public void setPivotId(String pivotId) {
                this.pivotId = pivotId;
            }

            public String getPivotNum() {
                return pivotNum;
            }

            public void setPivotNum(String pivotNum) {
                this.pivotNum = pivotNum;
            }

            public String getFarmId() {
                return farmId;
            }

            public void setFarmId(String farmId) {
                this.farmId = farmId;
            }

            public String getFarmName() {
                return farmName;
            }

            public void setFarmName(String farmName) {
                this.farmName = farmName;
            }

            public String getVarietyId() {
                return varietyId;
            }

            public void setVarietyId(String varietyId) {
                this.varietyId = varietyId;
            }

            public String getVarietyName() {
                return varietyName;
            }

            public void setVarietyName(String varietyName) {
                this.varietyName = varietyName;
            }

            public String getVarietyLevel() {
                return varietyLevel;
            }

            public void setVarietyLevel(String varietyLevel) {
                this.varietyLevel = varietyLevel;
            }

            public int getExpectProduce() {
                return expectProduce;
            }

            public void setExpectProduce(int expectProduce) {
                this.expectProduce = expectProduce;
            }

            public int getProduce() {
                return produce;
            }

            public void setProduce(int produce) {
                this.produce = produce;
            }

            public String getExceptStartTime() {
                return exceptStartTime;
            }

            public void setExceptStartTime(String exceptStartTime) {
                this.exceptStartTime = exceptStartTime;
            }

            public String getExceptEndTime() {
                return exceptEndTime;
            }

            public void setExceptEndTime(String exceptEndTime) {
                this.exceptEndTime = exceptEndTime;
            }

            public int getCompanyFlag() {
                return companyFlag;
            }

            public void setCompanyFlag(int companyFlag) {
                this.companyFlag = companyFlag;
            }

            @Override
            public String toString() {
                return "DataBean{" +
                        "id='" + id + '\'' +
                        ", createTime='" + createTime + '\'' +
                        ", deleteFlag=" + deleteFlag +
                        ", planNum='" + planNum + '\'' +
                        ", harvestYear='" + harvestYear + '\'' +
                        ", planStatus=" + planStatus +
                        ", cellName='" + cellName + '\'' +
                        ", cellId='" + cellId + '\'' +
                        ", cellNum='" + cellNum + '\'' +
                        ", pivotId='" + pivotId + '\'' +
                        ", pivotNum='" + pivotNum + '\'' +
                        ", farmId='" + farmId + '\'' +
                        ", farmName='" + farmName + '\'' +
                        ", varietyId='" + varietyId + '\'' +
                        ", varietyName='" + varietyName + '\'' +
                        ", varietyLevel='" + varietyLevel + '\'' +
                        ", expectProduce=" + expectProduce +
                        ", produce=" + produce +
                        ", exceptStartTime='" + exceptStartTime + '\'' +
                        ", exceptEndTime='" + exceptEndTime + '\'' +
                        ", companyFlag=" + companyFlag +
                        ", startTime='" + startTime + '\'' +
                        ", endTime='" + endTime + '\'' +
                        '}';
            }
        }


    }

    @Override
    public String toString() {
        return "HomeBean{" +
                "success=" + success +
                ", data=" + data +
                '}';
    }


}
